<template>
	<view class="add" :style="{height:ht+'px'}">
		<view class="Box">
			<view class="send">
				<view class="left">
					<image src="../../../static/icon/icon-1.png" mode=""></image>
					<view class="text">
						上传合同
					</view>
				</view>
				<navigator url="../../add/sendPic/publishHouse">
				<view class="right">
					<image src="../../../static/icon/icon-1.png" mode=""></image>
					<view class="text">
						发布房源
					</view>
				</view>
				</navigator>
				
			</view>
			<view class="close" @click="pageClose">
				<image src="../../../static/icon/home_n.png" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				ht:''
			}
		},
		mounted() {
			this.getH()
		},
		methods:{
			getH(){
				const { windowWidth, windowHeight } = uni.getSystemInfoSync();	
				this.ht = windowHeight
				
			},
			pageClose(){
				uni.switchTab({
				    url: '../../index/index'
				});
			}
		}
		
	}
</script>

<style>
	.add{
		position: relative;
		background: white;
	}
	.Box{
		position: absolute;
		left: 15%;
		bottom: 0upx;
		width: 70%;
		height: 380upx;
	}
	.send{
		display: flex;
		justify-content: space-around;
	}
	
	.send .text{
		margin-top: 20upx;
		font-size: 26upx;
		line-height: 36upx;
	}
	.send .left{
		width: 120upx;
		height: 200upx;
	}
	.send .left image,.send .right image{
		width: 120upx;
		height: 120upx;
	}
	.send .right{
		width: 120upx;
		height: 200upx;
	}
	.close{
		margin-top: 100upx;
		text-align: center;
	}
	.close image{
		width: 70upx;
		height: 70upx;
	}
</style>
